import request from '@/util/request'

export function listErpSite(data) {
  return request({
    url: '/erp/site/list',
    method: 'post',
    data
  })
}
export function listErpSiteByUser(data) {
  return request({
    url: '/erp/site/listByUser',
    method: 'post',
    data
  })
}

export function pageGetErpSite(data) {
  return request({
    url: '/erp/site/pageGet',
    method: 'post',
    data
  })
}

export function insertErpSite(data) {
  return request({
    url: '/erp/site/insert',
    method: 'post',
    data
  })
}

export function updateErpSite(data) {
  return request({
    url: '/erp/site/update',
    method: 'post',
    data
  })
}

export function deleteErpSite(data) {
  return request({
    url: '/erp/site/delete',
    method: 'post',
    data
  })
}

export function getErpSite(data) {
  return request({
    url: '/erp/site/get',
    method: 'post',
    data
  })
}

